home *** CD-ROM | disk | FTP | other *** search
- Path: user2.mnsinc.com!huang
- From: huang@mnsinc.com (Szu-Wen Huang)
- Newsgroups: comp.lang.c
- Subject: Re: Help: wwwwais won't compile for me!
- Date: 18 Apr 1996 22:59:40 GMT
- Organization: Monumental Network Systems
- Message-ID: <4l6hgs$ebe@news1.mnsinc.com>
- References: <gpardi-1704962347100001@dn106.seacoast.com>
- NNTP-Posting-Host: user.mnsinc.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- George Pardi (gpardi@seacoast.com) wrote:
- [snip]
- : Using the gcc compiler, I tried a number of syntaxes, all to no avail. In
- : each case I got an error message (see below). I searched the Web for
- : documentation on gcc and tried a couple of switches, but the results were
- : the same each time. In a couple of case I ended up with an "a.out" file.
- : I deleted those and started over, this time trying the switched below.
- : Anyone have any ideas?
- [snip]
- : northshore% gcc wwwwais.25.c -o wwwwais
- : wwwwais.25.c: In function `parsetitle':
- : wwwwais.25.c:1377: warning: function returns address of local variable
- : wwwwais.25.c:1394: warning: function returns address of local variable
- : wwwwais.25.c:1408: warning: function returns address of local variable
- : wwwwais.25.c:1412: warning: function returns address of local variable
-
- This gives me a good idea what's wrong with the program, but it's
- best if you post the function in question. It's a bit too much to
- ask us to FTP that code just to figure out what's wrong ;). Just
- post the function 'parsetitle' if it's not terribly long.
-